/* eslint-disable react/prop-types */
import React from 'react';
import AppRouter from '@/router/index';
import { connect } from 'react-redux';

class App extends React.Component {
  render() {
    return (
      <AppRouter />
    )
  }
}

const stateToProps = (state) => {
  return state
}

export default connect(stateToProps)(App);